-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat!: support server-side batch check endpoiont #185
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #185 +/- ##
==========================================
+ Coverage 87.65% 88.00% +0.35%
==========================================
Files 23 23
Lines 1142 1201 +59
Branches 198 191 -7
==========================================
+ Hits 1001 1057 +56
- Misses 83 85 +2
- Partials 58 59 +1 ☔ View full report in Codecov by Sentry. |
cf49919
to
51f51ab
Compare
51f51ab
to
b68e18e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work! Just a query about the response shape
Introduces support for the server-side batch check API, released in OpenFGA v1.8.2.
Warning
Breaking Change! This change renames the existing
batchCheck
method (which calls the/check
API in parallel) toclientBatchCheck
. If you would like to continue to use the client-side batch check, replace your calls tobatchCheck
withclientBatchCheck
, and reference the results using theresult
property (formerly wasresponses
).Description
Provides support for the server-side batch check API, introduced in OpenFGA v1.8.2.
Example
Example pulled from the example app updated in this PR.
References
Review Checklist
main